//
//  UIView+samFrame.h
//  CRM
//
//  Created by sam lau on 17/3/21.
//  Copyright © 2017年 AP-EC. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (samFrame)
@property CGFloat sam_width;
@property CGFloat sam_height;
@property CGFloat sam_x;
@property CGFloat sam_y;
@property CGFloat sam_centerX;
@property CGFloat sam_centerY;


@property (nonatomic) CGFloat sam_maxX;
@property (nonatomic) CGFloat sam_maxY;

@property (nonatomic) CGPoint sam_origin;
@property (nonatomic) CGSize sam_size;

//获取该视图的控制器
- (UIViewController*) viewController;

//删除当前视图内的所有子视图
- (void) removeChildViews;

//删除tableview底部多余横线
- (void)setExtraCellLineHidden: (UITableView *)tableView;



@end
